import Vue from 'vue'
import Router from 'vue-router'
import Headnav from '@/components/public/Headnav'
import Header_hover from '@/components/public/Header_hover'
import Footer from '@/components/public/Footer'
import Index from '@/pages/home/Index'
import Blueinfo from '@/pages/home/Blueinfo'
import Blueinfo_list from '@/pages/home/Blueinfo_list'
import Blueinfo_detail from '@/pages/home/Blueinfo_detail'
import Register_person from '@/pages/home/Register_person'
import Industry from '@/pages/home/Industry'
import Register_new from '@/pages/home/Register_new'
import Bluenews from '@/pages/home/Bluenews'
import Login from '@/pages/home/Login'
import Password from '@/pages/home/Password'
import Blueshop from '@/pages/home/Blueshop'
import Blueshoppage from '@/pages/home/Blueshoppage'
import Blueshoppage_list from '@/pages/home/Blueshoppage_list'
import Blueauth from '@/pages/home/Blueauth'
import Blueauth_list from '@/pages/home/Blueauth_list'
import Blueauth_detail from '@/pages/home/Blueauth_detail'
import Blueauth_process from '@/pages/home/Blueauth_process'
import Usercenter from '@/pages/home/Usercenter'
import Blueauth_detail2 from '@/pages/home/Blueauth_detail2'
import Usercenter_store from '@/pages/home/Usercenter_store'
import Myorder_waitpay from '@/pages/home/Myorder_waitpay'
import Myorder_pay from '@/pages/home/Myorder_pay'
import Myorder_moneyinfo from '@/pages/home/Myorder_moneyinfo'
import Myorder_route from '@/pages/home/Myorder_route'
import Blueshop_settle from '@/pages/home/Blueshop_settle'
import Logindemo from '@/pages/home/Logindemo'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/Headnav',
    name: 'Headnav',
    component: Headnav,
    meta:{
      title:'头部导航'
    }
  },
  {
    path: '/Header_hover',
    name: 'Header_hover',
    component: Header_hover,
    meta:{
      title:'头部导航-副'
    }
  },
  {
    path: '/Footer',
    name: 'Footer',
    component: Footer,
    meta:{
      title:'底部版权'
    }
  },
  {
    path: '/',
    name: 'Index',
    component: Index,
    meta:{
      title:'首页'
    }
  },
  {
    path: '/Blueinfo',
    name: 'Blueinfo',
    component: Blueinfo,
    meta:{
      title:'绿色资讯'
    }
  },
  {
    path: '/Blueinfo_list',
    name: 'Blueinfo_list',
    component: Blueinfo_list,
    meta:{
      title:'绿色资讯-列表页'
    }
  },
  {
    path: '/Blueinfo_detail',
    name: 'Blueinfo_detail',
    component: Blueinfo_detail,
    meta:{
      title:'绿色资讯-文章页'
    },
    props:true
  },
  {
    path: '/Register_person',
    name: 'Register_person',
    component: Register_person,
    meta:{
      title:'绿色资讯-注册(个人)'
    }
  },
  {
    path: '/Industry',
    name: 'Industry',
    component: Industry,
    meta:{
      title:'绿色资讯-行业分类(未登录)'
    }
  },
  {
    path: '/Register_new',
    name: 'Register_new',
    component: Register_new,
    meta:{
      title:'绿色资讯-注册(个人新)'
    }
  },
  {
    path: '/Bluenews',
    name: 'Bluenews',
    component: Bluenews,
    meta:{
      title:'绿色资讯'
    }
  },
  {
    path: '/Login',
    name: 'Login',
    component: Login,
    meta:{
      title:'绿色资讯-登录'
    }
  },
  {
    path: '/Password',
    name: 'Password',
    component: Password,
    meta:{
      title:'绿色资讯-找回密码'
    }
  },
  {
    path: '/Blueshop',
    name: 'Blueshop',
    component: Blueshop,
    meta:{
      title:'绿色资讯-绿色商户'
    }
  },
  // {
  //   path: '/Blueshoppage/:id',
  //   name: 'Blueshoppage',
  //   component: Blueshoppage,
  //   meta:{
  //     title:'绿色资讯-商户店铺'
  //   }
  // },
  {
    path: '/Blueshoppage',
    name: 'Blueshoppage',
    component: Blueshoppage,
    meta:{
      title:'绿色资讯-商户店铺'
    },
    props:true
  },
  {
    path: '/Blueshoppage_list',
    name: 'Blueshoppage_list',
    component: Blueshoppage_list,
    meta:{
      title:'绿色资讯-商户店铺-产品列表'
    }
  },
  {
    path: '/Blueauth',
    name: 'Blueauth',
    component: Blueauth,
    meta:{
      title:'绿色资讯-绿色认证'
    }
  },
  {
    path: '/Blueauth_list',
    name: 'Blueauth_list',
    component: Blueauth_list,
    meta:{
      title:'绿色资讯-绿色认证-列表'
    }
  },
  {
    path: '/Blueauth_detail',
    name: 'Blueauth_detail',
    component: Blueauth_detail,
    meta:{
      title:'绿色资讯-绿色认证-详情'
    }
  },
  {
    path: '/Blueauth_process',
    name: 'Blueauth_process',
    component: Blueauth_process,
    meta:{
      title:'绿色资讯-绿色认证-流程'
    }
  },
  {
    path: '/Usercenter',
    name: 'Usercenter',
    component: Usercenter,
    meta:{
      title:'绿色资讯-用户中心'
    }
  },
  {
    path: '/Blueauth_detail2/:id',
    name: 'Blueauth_detail2',
    component: Blueauth_detail2,
    meta:{
      title:'绿色资讯-绿色认证详情2'
    },
    prop:true
  },
  {
    path: '/Usercenter_store',
    name: 'Usercenter_store',
    component: Usercenter_store,
    meta:{
      title:'绿色资讯-用户中心-收藏的商家'
    }
  },
  {
    path: '/Myorder_waitpay',
    name: 'Myorder_waitpay',
    component: Myorder_waitpay,
    meta:{
      title:'绿色资讯-用户中心-我的订单待支付'
    }
  },
  {
    path: '/Myorder_pay',
    name: 'Myorder_pay',
    component: Myorder_pay,
    meta:{
      title:'绿色资讯-用户中心-我的订单支付'
    }
  },
  {
    path: '/Myorder_moneyinfo',
    name: 'Myorder_moneyinfo',
    component: Myorder_moneyinfo,
    meta:{
      title:'绿色资讯-用户中心-我的订单查看汇款信息'
    }
  },
  {
    path: '/Myorder_route',
    name: 'Myorder_route',
    component: Myorder_route,
    meta:{
      title:'绿色资讯-用户中心-我的订单查看物流信息'
    }
  },
  {
    path: '/Blueshop_settle',
    name: 'Blueshop_settle',
    component: Blueshop_settle,
    meta:{
      title:'绿色资讯-商户入驻申请'
    }
  },
  {
    path: '/Logindemo',
    name: 'Logindemo',
    component: Logindemo,
    meta:{
      title:'绿色资讯-登录案例'
    }
  }
]
})
